package com.miz.bincalc;
import android.app.Activity;
import android.os.Bundle;
import android.widget.EditText;

public class ResultActivity extends Activity{
	private static EditText t;
	private static int h, w;
	
	@Override
	public void onCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
        setContentView(R.layout.result_layout);
        t = (EditText)findViewById(R.id.editText3);
		t.setKeyListener(null);
		h = t.getHeight();
		w = t.getWidth();
	}
	
	public static void setText(String str){
		t.setText(str);
		t.setHeight(h);
		t.setWidth(w);
	}
	
	public static void addText(String str){
		t.setText(t.getText() + str);
		t.setHeight(h);
		t.setWidth(w);
	}
}
